portableSql

Cot Portable SQL Function

Syntax

Cot as N (Radians as N)

Arguments

RadiansNumeric

A numeric field or value. If Radians is zero, your query may return NULL or fail with an error.

Returns

resultNumeric

Returns the cotangent of an angle expressed in radians.

Description

Returns the cotangent of an angle expressed in radians.

Discussion

The Cot function computes the cotangent of an angle expressed in radians. Depending on your database, ifi Radians is zero, the query will either produce an error or return a NULL value.

Cot() function executed on the Northwind Access database
SELECT FIRST 1 cot(3) AS EXPR1 FROM Products
 = -7.01525255143453